package com.community.common.pojo.forcamera.response;

import com.community.common.pojo.forcamera.entity.CameraPersonAdd;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import lombok.*;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.List;

/**
 * Created by Enzo Cotter on 2020/9/18.
 */
@Data
@Builder
@ToString
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
@JsonSerialize(include = JsonSerialize.Inclusion.NON_NULL)
public class CameraPersonAddResVo implements Serializable {

    private static final long serialVersionUID = 5671902978005251340L;
    /**
     * 接口返回结果成功
     */
    private Boolean success;
    /**
     * 消息 id，用于维护消息队列
     */
    private String queueId;
    /**
     * 若返回失败，失败的信息描述
     */
    private String msg;
    /**
     * 设备序列号
     */
    private String sn;
    /**
     * Json 对象数组，最多返回 10 个人 员信息
     */
    private List<CameraPersonAdd> data;
}
